package com.ys.peony.model;

import java.io.Serializable;

/**
 * 预约返回item
 * Created by yml on 17/5/30.
 */

public class AppointModel implements Serializable {

    private static final long serialVersionUID = -5557192466951688785L;
    private long id;
    private String name;//名字
    private String id_card;//身份证号
    private String phone;//手机号
    private String plate_number;//车牌号
    private String brand_name;//车辆品牌
    private String status;//状态

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId_card() {
        return id_card;
    }

    public void setId_card(String id_card) {
        this.id_card = id_card;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPlate_number() {
        return plate_number;
    }

    public void setPlate_number(String plate_number) {
        this.plate_number = plate_number;
    }

    public String getBrand_name() {
        return brand_name;
    }

    public void setBrand_name(String brand_name) {
        this.brand_name = brand_name;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj instanceof AppointModel) {
            AppointModel obj1 = (AppointModel) obj;
            return (id==obj1.id);
        }
        return super.equals(obj);
    }
}
